@joej said in g++: error: /DEBUG: No such file or directory:
MSVC compiler (x86-windows-msvc2005-pe-32bit) cannot produce code for "Qt 5.12.12 MSVC2017 32bit"
Use newer MSVC compiler
@jsulm
Since I'm on Windows, it should still be -llibzmq-v140-mt-s-4_3_4. However for this library to work, a preprocessor directive ZMQ_STATIC needs to be added
@mattfbacon said in MOC: signals and slots can't be on same line:
Really, moc should be using a full C++ parser...
Again: feel free to provide a patch instead blaming around that a corner case does not work...
@JonB well, I thought it just creates a new build file for the new compiler (which it does), but I have to admit my understanding for compilers is not very deep.
Just use QT += module
That test is really only useful for code bases that should be built with both Qt 4 and Qt 5 since the widgets have moved to their own module in Qt 5.
The above problem has been "autoresolved" with a reboot of my PC.
Another problem arised: "LINK : fatal error LNK1104: cannot open file 'qtmaind.lib'"
This is due to the fact that release libraries and debug libraries are stored into 2 different folders.
So I've taken the source files of Qt4.8.4 from OSG and recompiled them with the desidered options.
Now everything works.